package com.masterclient.app.modules.shop.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.eoner.baselibrary.bean.personal.UploadImgBean;
import com.eoner.baselibrary.bean.shop.DealerStoreInfoBean;

import java.io.File;


public interface DealerStoreInfoContract {

    interface View extends BaseView {
        void showStoreInfo(DealerStoreInfoBean dataBean);
        void uploadImgResult(boolean isSuccess, UploadImgBean.DataBean bean);
        void updateResult(boolean isSuccess);
    }
    abstract class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {

        }

        public abstract void getStoreInfo();

        public abstract void updateInfo(String logo, String name, String use_default);

        public abstract void uploadImage(File image);

    }


}